SCGetInfo
TheSCGetInfo
function allows you to retrieve configuration information from the standard dialog component.
pascal ComponentResult SCGetInfo (ComponentInstance ci, OSType type, void *info);
ci
- Identifies your application's connection to a standard image-compression dialog component.
type
- Specifies the type of information you want to retrieve. The following values are valid:
scSpatialSettingsType
- The component returns its spatial compression parameters.
scTemporalSettingsType
- The component returns its temporal compression parameters.
scDataRateSettingsType
- The component returns information about its compression data rate.
scColorTableType
The component returns its color table.scProgressProcType
- The component returns a pointer to its progress function.
scExtendedProcsType
- The component returns information about how you have extended the standard dialog box.
scPreferenceFlagsType
- The component returns its current preference flags settings.
scSettingsStateType
- The component returns its complete configuration.
scSequenceIDType
The component returns its current image-compression sequence identifier.scWindowPositionType
- The component returns information about where the standard dialog is positioned.
scCodecFlagsType
The component returns its current image-compression control flags.info
- Contains a pointer to a field that is to receive the information.
DESCRIPTION
You use thetype
parameter to specify the type of information you want to retrieve. Theinfo
parameter contains a pointer to a location to receive the information (see this section's introductory text for information about the format of the data that is returned for each request type). If the component cannot satisfy your request, it returns a result code ofscTypeNotFoundErr
.RESULT CODE
scTypeNotFoundErr -8971 Component does not have the information you want
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help